Bump to AGP 9.0 - #222
Draft
eric-labelle wants to merge 9 commits into
Draft
Conversation
eric-labelle
force-pushed
the
ela/bump-agp900
branch
from
September 25, 2025 14:03
3e014dd to
7d38d2b
Compare
eric-labelle
force-pushed
the
ela/bump-agp900
branch
3 times, most recently
from
November 12, 2025 13:28
8fa2f4e to
3b33098
Compare
eric-labelle
commented
Nov 12, 2025
| kotlin = "2.2.20" | ||
| kotlinPoet = "1.13.1" | ||
| ksp = "2.1.20-1.0.32" | ||
| ksp = "2.3.2" |
Collaborator
Author
There was a problem hiding this comment.
this version fixes the ksp integration with the built-in kotlin support in agp 9 google/ksp#2615
eric-labelle
force-pushed
the
ela/bump-agp900
branch
3 times, most recently
from
November 17, 2025 16:50
000f98a to
55ebed2
Compare
eric-labelle
force-pushed
the
ela/bump-agp900
branch
2 times, most recently
from
November 27, 2025 14:16
4812a3a to
b741f7e
Compare
eric-labelle
force-pushed
the
ela/bump-agp900
branch
2 times, most recently
from
December 22, 2025 16:28
a1dcb01 to
d5708ef
Compare
# Conflicts: # gradle/libs.versions.toml
AGP 9 support kotlin natively so we do not need to add this plugin anymore. # Conflicts: # gradle-plugin/src/test/fixtures/buildscript.gradle # sample/build.gradle
ksp-2.1.20-1.0.32 is too old for kotlin-2.2.10. Please upgrade ksp or downgrade kotlin-gradle-plugin to 2.1.20.
eric-labelle
force-pushed
the
ela/bump-agp900
branch
from
January 6, 2026 15:13
d5708ef to
bf20246
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade to Android Gradle Plugin 9.0
This PR upgrades the project to Android Gradle Plugin (AGP) 9.0 and makes all necessary compatibility changes.
Changes
🚀 Version Upgrades
8.13.0→9.0.0-rc0131.13.0→32.0.0-rc012.1.20→2.2.202.1.20-1.0.32→2.3.2(this version fixes ksp to work with agp's built-in kotlin support)36across all test fixtures and sample modules🧹 Plugin Cleanup
Removed the
org.jetbrains.kotlin.androidplugin throughout the codebase. AGP 9.0 now supports Kotlin natively, making this plugin redundant. This change affects:🔧 Code Synchronization
Updated
DependencyConfigurator.ktin the AGP patch to sync with AGP 9.0's internal changes, simplifying the implementation by removing 47 lines of code.🐛 Bug Fixes
Fixed a missing task dependency in
BetterDynamicFeaturesPlugin.ktwhereTypesafeImplementationsCompilationTasknow explicitly depends on theimplementationsTaskto ensure proper task ordering.Impact
Testing
All existing test fixtures have been updated to work with the new versions, including: